<?php
	function searchSearch($keywords,$ad) {
		foreach($keywords as $keyword) {
			$target = $ad['title']." ".$ad['description'];
			$target = strtolower($target);
			if (strpos($target,$keyword) > 0) {
				return true;
			}
		}
		
		return false;
	}
?>
